home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- lpadmin - configure the LP spooling system
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----ppppprinter [options]
- ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----xxxxdest
- ////uuuussssrrrr////lllliiiibbbb////llllppppaaaaddddmmmmiiiinnnn ----dddd[dest]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _l_p_a_d_m_i_n configures line printer (LP) spooling systems to describe
- printers, classes and devices. It is used to add and remove
- destinations, change membership in classes, change devices for printers,
- change printer interface programs and to change the system default
- destination.
-
- Exactly one of the ----pppp, ----dddd or ----xxxx options must be present for every legal
- invocation of _l_p_a_d_m_i_n.
-
- ----pppp_p_r_i_n_t_e_r names a _p_r_i_n_t_e_r to which all of the _o_p_t_i_o_n_s below refer.
- If _p_r_i_n_t_e_r does not exist then it will be created.
-
- ----xxxx_d_e_s_t removes destination _d_e_s_t from the LP system. If _d_e_s_t is a
- printer and is the only member of a class, then the class
- will be deleted, too. No other _o_p_t_i_o_n_s are allowed with
- ----xxxx.
-
- ----dddd[_d_e_s_t] makes _d_e_s_t, an existing destination, the new system
- default destination. If _d_e_s_t is not supplied, then there
- is no system default destination. No other _o_p_t_i_o_n_s are
- allowed with ----dddd.
-
- The following _o_p_t_i_o_n_s are only useful with ----pppp and may appear in any
- order. For ease of discussion, the printer will be referred to as _P
- below.
-
- ----cccc_c_l_a_s_s inserts printer _P into the specified _c_l_a_s_s. _C_l_a_s_s will be
- created if it does not already exist.
-
- ----eeee_p_r_i_n_t_e_r copies an existing _p_r_i_n_t_e_r'_s interface program to be the
- new interface program for _P.
-
- ----hhhh indicates that the device associated with _P is hardwired.
- This _o_p_t_i_o_n is assumed when adding a new printer unless
- the ----llll _o_p_t_i_o_n is supplied.
-
- ----iiii_i_n_t_e_r_f_a_c_e establishes a new interface program for _P. _I_n_t_e_r_f_a_c_e is
- the path name of the new program.
-
- ----llll indicates that the device associated with _P is a login
- terminal. The LP scheduler, _l_p_s_c_h_e_d, disables all login
- terminals automatically each time it is started. Before
- re-enabling _P, its current _d_e_v_i_c_e should be established
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
-
-
-
- using _l_p_a_d_m_i_n.
-
- ----mmmm_m_o_d_e_l selects a model interface program for _P. _M_o_d_e_l is one of
- the model interface names supplied with the LP Spooling
- Utilities (see _M_o_d_e_l_s below).
-
- ----rrrr_c_l_a_s_s removes printer _P from the specified _c_l_a_s_s. If _P is the
- last member of the _c_l_a_s_s, then the _c_l_a_s_s will be removed.
-
- ----vvvv_d_e_v_i_c_e associates a new _d_e_v_i_c_e with printer _P. _D_e_v_i_c_e is the
- pathname of a file that is writable by _l_p. Note that the
- same _d_e_v_i_c_e can be associated with more than one _p_r_i_n_t_e_r.
-
- RRRReeeessssttttrrrriiiiccccttttiiiioooonnnnssss....
- When creating a new printer, the ----vvvv option and one of the ----eeee, ----iiii or ----mmmm
- options must be supplied. Only one of the ----eeee, ----iiii or ----mmmm options may be
- supplied. The ----hhhh and ----llll keyletters are mutually exclusive. Printer and
- class names may be no longer than 14 characters and must consist entirely
- of the characters AAAA-ZZZZ, aaaa-zzzz, 0000-9999 and ____ (underscore).
-
- MMMMooooddddeeeellllssss....
- Model printer interface programs are supplied with the LP Spooling
- Utilities. They are shell procedures which interface between _l_p_s_c_h_e_d and
- devices. All models reside in the directory ////uuuussssrrrr////ssssppppoooooooollll////llllpppp////mmmmooooddddeeeellll and may
- be used as is with _l_p_a_d_m_i_n ----mmmm. Copies of model interface programs may
- also be modified and then associated with printers using _l_p_a_d_m_i_n ----iiii. The
- following describes the _m_o_d_e_l_s which may be given on the _l_p command line
- using the ----oooo keyletter:
-
- LQP-40
- Letter quality printer using XON/XOFF protocol at 9600 baud.
-
- DQP-10
- Dot matrix draft quality printer using XON/XOFF protocol at 9600
- baud.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- 1. For a DQP-10 printer named cI8, it will use the DQP-10 model
- interface after the command:
-
- /usr/lib/lpadmin -pcI8 -mdqp10
-
- 2. A LQP-40 printer called pr1 can be added to the lp configuration with
- the command:
-
- /usr/lib/lpadmin -ppr1 -v/dev/contty -mlqp40
-
- FFFFIIIILLLLEEEESSSS
- /usr/spool/lp/*
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM)))) PPPPrrrriiiinnnnttttiiiinnnngggg TTTToooooooollllssss LLLLPPPPAAAADDDDMMMMIIIINNNN((((1111MMMM))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- enable(1), lp(1), lpstat(1), accept(1M), lpsched(1M)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-